package generic.genetic;

public abstract class FunctionChromosome extends Chromosome{

	
	
	public FunctionChromosome(RangedValueGene... genes) {
		super(genes.length);
		for (int i=0;i<genes.length;i++) this.genes[i] = genes[i];
	}

	public FunctionChromosome(FunctionChromosome f) {
		super(f.getnGenes());
		for (int i=0;i<genes.length;i++) this.genes[i] = new RangedValueGene((RangedValueGene)f.getGenes()[i]);
	}
	
}
